public class gameTest {
    public static void main(String[] args) {
        Role r1 = new Role("成龙", 100,'男');
        Role r2 = new Role("圣主", 100,'兽');
        r1.show();
        r2.show();
        /*while (true) {
            r1.attack(r2);
            if (r2.getHP() == 0) {
                System.out.println(r1.getName() + "打败了" + r2.getName());
                break;
            }
            r2.attack(r1);
            if (r1.getHP() == 0) {
                System.out.println(r2.getName() + "打败了" + r1.getName());
                break;
            }
        }*/
    }
}
